import homeRouter from './home.js';
import goodsRouter from './goods.js';
import mineRouter from './mine.js';
import loginRouter from './login.js';
import storeRouter from './store.js';

// 各模块路由输出
export const routers = [
  {
    path: '*', // Catch-all route for undefined paths
    redirect: '/' // Redirect to the homepage
  },
  ...homeRouter,
  ...goodsRouter,
  ...mineRouter,
  ...loginRouter,
  ...storeRouter
]